package com.example.cash.craft.dao.persist.repository;

import com.example.cash.craft.pojo.entity.Order;
import com.example.cash.craft.pojo.vo.OrderSimpleInfoVO;
import com.example.cash.craft.pojo.vo.PageData;

public interface IOrderRepository {

    int insert(Order order);

    OrderSimpleInfoVO selectById(Long id);

    PageData<OrderSimpleInfoVO> listByUserId(Long userId, Integer page, Integer pageSize);

}
